package com.bainuo.doctor.common.image_support.imghandle.Bean;

import android.net.Uri;

import com.bainuo.doctor.common.image_support.imghandle.uploader.UploadTask;

/**
 * Created by faraway on 17/2/17.
 */
public class AudioUploadInfo extends UploadTask {

    /**
     * 原图uri
     */
    private String path;

    private int duration;

    public int getDuration() {
        return duration;
    }

    public void setDuration(int duration) {
        this.duration = duration;
    }

    /**
     * 判断图片是否已经完成上传
     *
     * @return
     */
    public boolean isUploadComplete() {
        return getUrl() != null;
    }




}
